package com.harmontronics.hanma.paas.paas.domain.app.repository.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 实体模型发布记录
 *
 * @author paas-generator
 * @email paas-generator@harmontronics.com
 * @date 2021-05-11 09:24:43
 */
@Data
@TableName("hm_model_publish")
public class HmModelPublishPO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.comments
     */
    @TableId
    private Long id;
    /**
     * 模型ID
     */
    private Long modelId;
    /**
     * 版本
     */
    @TableField("version_")
    private Integer version;
    /**
     * 是否激活
     */
    private Integer activated;

    /**
     * 备注
     */
    private String remark;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createDate;
    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT)
    private String createBy;

}
